﻿@model mock_ehr_lib.Model.Summary.PatientSummary

<div id="history">
        <div>Family</div>
        <table>
        <thead>
            <tr>
                <th>
                    Relation
                </th>
                <th>
                    Assertion
                </th>
            </tr>
        </thead>
        
        @foreach (var history in Model.FamilyHistory)
        {
            <tr>
                <td>@history.Relation</td>
                <td>@history.Assertion</td>
            </tr>
        }
        </table>
        <div>Social</div>
        <table>
            <thead>
                <tr>
                    <th>
                        Description
                    </th>
                    <th>
                        Value
                    </th>
                </tr>
            </thead>
        
        @foreach (var history in Model.SocialHistory)
        {
            <tr>
                <td>@history.Description</td>
                <td>@history.Value</td>
            </tr>
        }
        </table>
    </div>
